<div class="section">
  <div class="section_heading">
    <div class="section_title">
      <span class="section_title"><%= h section.title %></span>
    </div>
    <div class="section_control" id="section_control_<%= section.id %>">
      <%= link_to_function "Collapse", "fading_toggle('section_content_#{section.id}', 'section_control_link_#{section.id}', 'Collapse', 'Show')",
      :id =>"section_control_link_#{section.id}" %>
    </div>
  </div>
  <div class="section_content" id="section_content_<%= section.id %>">
    <table class="boards_table" cellspacing="5" cellpadding="5" width="100%">
      <tr>
        <th>Forum</th>
        <th>Threads</th>
        <th>Posts</th>
        <th>Last Message</th>
      </tr>
      <% section.boards.each_with_counter do |board, counter| %>
      <%= render(:partial=>'board', :object=>board,
                 :locals => {:counter => counter}) -%>
      <% end %>
    </table>
  </div>
</div>